package pl.net.csrv.beans;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * @author Maciek
 *
 */
@Entity
@Table(name = "Car")
public class Car {

	/**
	 * Id
	 */
	@Id
	@Column(name = "ID")
	private Long id;

	/**
	 * Model
	 */
	@Column(name="MODEL")
	private String model;

	/**
	 * Brand
	 */
	@Column(name="BRAND")
	private String brand;

	/**
	 * Comment
	 */
	@Column(name="C_COMMENT")
	private String comment;

	/**
	 * Gets the id
	 * @return Long
	 */
	public Long getId() {
		return id;
	}

	/**
	 * Sets the id
	 * @param id Long
	 */
	public void setId(Long id) {
		this.id = id;
	}

	/**
	 * Gets the model
	 * @return String
	 */
	public String getModel() {
		return model;
	}

	/**
	 * Sets the model
	 * @param model String
	 */
	public void setModel(String model) {
		this.model = model;
	}

	/**
	 * Gets the brand
	 * @return String
	 */
	public String getBrand() {
		return brand;
	}

	/**
	 * Sets the brand
	 * @param brand String
	 */
	public void setBrand(String brand) {
		this.brand = brand;
	}

	/**
	 * Gets the comment
	 * @return String
	 */
	public String getComment() {
		return comment;
	}

	/**
	 * Sets the comment
	 * @param comment String
	 */
	public void setComment(String comment) {
		this.comment = comment;
	}
}
